/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-06-08     31603       the first version
 */
#ifndef APPLICATIONS_INCLUDE_OLED_DEV_H_
#define APPLICATIONS_INCLUDE_OLED_DEV_H_

#include "main.h"
#include <rtthread.h>
#include <board.h>
#include <rtdevice.h>
#include "drv_common.h"

rt_err_t WriteCmd(struct rt_i2c_bus_device *bus, rt_uint8_t data);
rt_err_t WriteDat(struct rt_i2c_bus_device *bus, rt_uint8_t data);
void OLED_INIT(void);
void OLED_ALL_init(void);
void OLED_ShowStr(unsigned char x, unsigned char y, unsigned char ch[]);
void OLED_SetPos(unsigned char x, unsigned char y);
void OLED_CLS(void);
void OLED_FILL(unsigned char fill_data);
void OLED_ShowImage(const uint8_t *image);



#endif /* APPLICATIONS_INCLUDE_OLED_DEV_H_ */
